Dew Math for .NET
|
Numerical integration by using recursive Romberg algorithm.
Parameters |
Description |
TRealFunction Fun |
Integrating function. |
double lb |
Defines lower bound. |
double ub |
Defines upper bound. |
[In] TMtxFloatPrecision FloatPrecision |
Defines the computational precision to be used by the routine. |
[In] TVec Constants |
Additional constants defining Fun function, usually nil/null. |
[In] object[] ObjConst |
Additional objects defining Fun function, usually nil/null. |
out TIntStopReason StopReason |
Returns algorithm stop reason. |
double Tolerance |
Defines integration tolerance. |
int MaxIter |
Defines maximum number of alorithm iterations. |
the numerical approximate on integral of function Fun between limits lb and ub.
Evaluate fuction Sin(x)*Exp(-x^2) on interval [0,PI/2] by using Romberg algorithm.
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|